package com.example.enums;

/**
 * 业务聚合
 *
 * @version [V2.0]
 * @package com.yky.enums;
 * @description:[用一句话描述该文件做什么]
 * @author: [zhuben]
 * @date: [2024-02-21 15:15]
 * @copyright: 2024 echovin.com
 */
public enum ReslutCodeEnum {
    SUCCESS(200, "SUCCESS"),
    FAIL(500, "FAIL");
    private int code;

    private String msg;

    ReslutCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
